package com.zhuiyi.yiqingbackend.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    //自己指定时间格式
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date birthday;
    private int id;
    private String uname;
    private String upassword;
    private String phone;
    private int root;
    private String unit;
    private String username;
}
